import request from '@/utils/request'

// 查询园区多车计算信息列表
export function listParkReleaseTotalAccount(query) {
  return request({
    url: '/park/parkReleaseTotalAccount/list',
    method: 'get',
    params: query
  })
}

// 查询园区多车计算信息详细
export function getParkReleaseTotalAccount(id) {
  return request({
    url: '/park/parkReleaseTotalAccount/getInfo/' + id,
    method: 'get'
  })
}

// 新增园区多车计算信息
export function addParkReleaseTotalAccount(data) {
  return request({
    url: '/park/parkReleaseTotalAccount/add',
    method: 'post',
    data: data
  })
}

// 修改园区多车计算信息
export function updateParkReleaseTotalAccount(data) {
  return request({
    url: '/park/parkReleaseTotalAccount/edit',
    method: 'post',
    data: data
  })
}

// 删除园区多车计算信息
export function delParkReleaseTotalAccount(id) {
  return request({
    url: '/park/parkReleaseTotalAccount/remove/' + id,
    method: 'get'
  })
}

// 导出园区多车计算信息
export function exportParkReleaseTotalAccount(query) {
  return request({
    url: '/park/parkReleaseTotalAccount/export',
    method: 'get',
    params: query
  })
}